package xin.codedream.codelog.model.enums;

/**
 * 文章状态
 *
 * @author NGLSL
 * @date 2018/8/11
 */
public enum ArticleStatusEnum {
    /**
     * 状态
     */
    REVIEW(0, "审核"),
    PUBLIC(1, "公开"),
    DRAFT(2, "草稿");

    private Integer value;
    private String message;
    ArticleStatusEnum(Integer value, String message) {
        this.value = value;
        this.message = message;
    }

    public Integer getValue() {
        return value;
    }

    public String getMessage() {
        return message;
    }
}
